package com.xz.knowledgeDuplication.pattern.prototype;

import lombok.Data;

/**
 * 奖状类
 *
 * @author 召
 * @date 2022-03-06 15:44:39
 */
@Data
public class Citation implements Cloneable {

    private String name;

    public void show() {
        System.out.println(name + "同学：在2022学年第一学期中表现优秀，被评为三好学生。特发此状！");
    }

    @Override
    public Citation clone() throws CloneNotSupportedException {
        return (Citation) super.clone();
    }
}
